package com.dzqc.fly.service.impl;

import com.dzqc.fly.db.dao.FileUploadDao;
import com.dzqc.fly.db.pojo.AppFilePojo;
import com.dzqc.fly.service.FileUploadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;


@Service
public class FileUploadServiceimpl implements FileUploadService {

    @Autowired
    private FileUploadDao fileUploadDao;


    public int insert(AppFilePojo appFilePojo) {
        return fileUploadDao.insert(appFilePojo);
    }

    @Override
    public HashMap searchimgIndex() { return fileUploadDao.searchimgIndex(); }
}
